package com.jin.spirng_boot_learn.dto;

import com.jin.spirng_boot_learn.BO.StudentBO;
import lombok.Data;
import org.springframework.context.annotation.Bean;

@Data
public class StudentDTO {
    String name;
    Integer age;

    @Bean
    public StudentBO  method() {
        return new StudentBO();
    }
}
